import {
	mapState,
	mapActions,
	mapGetters,
	mapMutations,
} from 'vuex';

/**
 * tabbar数据枚举
 */
const enumTabbarList = {
	0: {
		name: '调查',
		value: 0,
	},
	1: {
		name: '采样',
		value: 1,
	},
	2: {
		name: '检测井',
		value: 2,
	},
	3: {
		name: '更多',
		value: 3,
	},
}

export default {
	data() {
		return {
			enumTabbarList,
		}
	},
	methods: {
		// getters
		getImageProduce() {
			return this.$store.state.pageData.imageProduce;
		},
		// mutations
		updateImageProduce(value) {
			this.$store.commit('updateImageProduce', value)
		}
	}
}